package com.jingdianjichi.project.infra.basic.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jingdianjichi.project.infra.basic.entity.SubjectInfo;
import com.jingdianjichi.project.infra.basic.entity.SubjectLiked;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import javax.security.auth.Subject;
import java.util.List;

/**
 * 题目点赞表 表数据库访问层
 *
 * @author jingdianjichi
 * @since 2024-01-07 23:08:45
 */
@Repository
public interface SubjectLikedDao extends BaseMapper<SubjectLiked> {

    void insertBatch(List<SubjectLiked> subjectLikedList);

    Integer countByCondition(SubjectLiked subjectLiked);

    List<SubjectLiked> queryPage(@Param("subjectLiked") SubjectLiked subjectLiked, @Param("start") Integer start, @Param("pageSize") Integer pageSize);
}

